Skip to content

Conversation

spacetag
Copy link
Contributor

Map returns a new array, so we can just use that result directly, instead of spreading it into a new array!

Map [returns a new array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), so we can just use that result directly, instead of spreading it into a new array!
Copy link

vercel bot commented Sep 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tailwindcss-typography ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 9:12pm

@adamwathan
Copy link
Member

Thanks!

@adamwathan adamwathan merged commit 383bee7 into tailwindlabs:main Sep 20, 2024
4 checks passed
@spacetag spacetag deleted the patch-1 branch September 25, 2024 17:53
philipp-spiess pushed a commit that referenced this pull request Sep 19, 2025
Map [returns a new array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map), so we can just use that result directly, instead of spreading it into a new array!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants